projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a353e77
)
gdk_window_end_paint: Flush destination surface after paint
author
Alexander Larsson
<alexl@redhat.com>
Mon, 10 Nov 2014 14:24:14 +0000
(15:24 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Mon, 10 Nov 2014 14:25:31 +0000
(15:25 +0100)
It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index be4f75ca35f683430e4d63841ec14dd7f8205aa1..ca7632a75fb5c0edfea782bdfe153bee699d9aca 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-3117,6
+3117,8
@@
gdk_window_end_paint (GdkWindow *window)
cairo_paint (cr);
cairo_destroy (cr);
+
+ cairo_surface_flush (surface);
}
}